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
I tryed to modify the string "protocolFile" to "files" and it looks like it works. But it might causes some error somewhere else?
I can not test it because starting a session does also not work.
The text was updated successfully, but these errors were encountered:
I always get an error when I upload a protocol with the code in the readme example.
Code from readme example:
response = requests.post(
url=f"http://{ROBOT_IP_ADDRESS}:31950/protocols",
headers={"Opentrons-Version": "3"},
files=[("protocolFile", open("basic_transfer.py", 'rb')),
("supportFiles", open("helpers.py", 'rb')),
("supportFiles", open("basic_transfer_config.json", 'rb')),
]
)
Error:
Create Protocol result: {'errors': [{'id': 'InvalidRequest', 'title': 'Invalid Request', 'detail': 'field required', 'source': {'pointer': '/files'}}]}
I tryed to modify the string "protocolFile" to "files" and it looks like it works. But it might causes some error somewhere else?
I can not test it because starting a session does also not work.
The text was updated successfully, but these errors were encountered: