You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When calling the signup function with correct parameters, an error "Invalid format String" arises. This happens due to a line in signup.py in the function accounts_create() -> timestamp = datetime.now().strftime("%s")
This is not a valid strftime.
Expected behavior
No error appears on account creation and an account is being created. I am not sure what the correct approach is because I tried changing up the timestamp variable but I got an error on return self.private_request("accounts/create/", data)
Desktop (please complete the following information):
OS: Windows 10
Python version 3.11.4
instagrapi version 2.1.1
The text was updated successfully, but these errors were encountered:
Try Instagrapi SaaS with a free trial https://hikerapi.com/p/5GBWznd3
Describe the bug
When calling the signup function with correct parameters, an error "Invalid format String" arises. This happens due to a line in signup.py in the function accounts_create() -> timestamp = datetime.now().strftime("%s")
This is not a valid strftime.
To Reproduce
from datetime import datetime
def main():
timestamp = datetime.now().strftime("%s")
print(timestamp)
if name == 'main':
main()
Expected behavior
No error appears on account creation and an account is being created. I am not sure what the correct approach is because I tried changing up the timestamp variable but I got an error on return self.private_request("accounts/create/", data)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: