![]() |
Avid Pro Audio CommunityHow to Join & Post • Community Terms of Use • Help Us Help YouKnowledge Base Search • Community Search • Learn & Support |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi there,
I'm trying to connect to the API, but getting the follwoing error message: Code:
{ ... "response_error_json": "Request refused. SDK versions mismatched." ... } What does this mean? Thanks, Steffen |
#2
|
|||
|
|||
![]()
I found out what's missing...
The version attribute in the header! When sending the following: Code:
{ "header": { "command": 60, "version": 1 }, "response_body_json": "{\"auth_string\":\"<my-auth-key-json>\"}" } {"schema":{"version":0},"company":{"name":"<NAM E-HERE>","x509_certificate_chain":["<BASE64-HERE>"]}} I receive an other error: Code:
{ "header": { "task_id": "bb74154b-054f-654b-8b80-6f1f6eb9c257", "command": 60, "status": 4, "progress": 0 }, "response_body_json": "", "response_error_json": "\n{\n \"command_error_message\":\"auth_string\",\n \"is_warning\":false,\n \"command_error_type\":\"PT_UnknownError\"\n}\n" } Last edited by swappl; 02-03-2023 at 06:13 AM. |
#3
|
|||
|
|||
![]()
How are you serializing the JSON request? You have to make sure the auth_string value is all escaped properly, and your protobuf JSON mapping is including default values for fields, preserving protobuf field names and ignorning unknown fields.
__________________
___ Jamie Hardt MPSE Pro Tools Ultimate 2022.12.0 Mac OS X 12.6.2 Mac Pro (Late 2013) |
#4
|
||||
|
||||
![]()
Hi swappl,
Have you been able to work through this issue? Please let us know if you need any assistance successfully establishing a connection to Pro Tools. Best, Rob
__________________
Rob Majors Avid Software Engineering |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pro Tools 10 software - Authentication Error | imranlk | Windows | 3 | 06-18-2012 08:37 PM |
Why? (request for future versions) *DELETED* | c-tone | Pro Tools TDM Systems (Mac) | 11 | 08-14-2007 09:20 AM |
Protools refused to load. | QuietLikeaCrow | Pro Tools M-Powered (Mac) | 1 | 08-08-2006 10:56 PM |
D-Fi 7.0 : authorisation refused after update | dolby | 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) | 5 | 11-20-2005 03:12 AM |