I am currently trying to utilize the ShortQuery feature of the API and having issues. My Get requests for other resources work fine so I know authentication isnt the issue. I have had the clinics update to 21.3.39 to ensure its not an outdated version that doesnt allow for ShortQuery usage. My python syntax is as follows:
That specific error message is most often seen when there is an issue with the dental office's eConnector. Usually this due to version of the eConnector being behind the version of the API method. However, Queries PUT ShortQuery was added in 21.2, which is later than the 21.3.39 you believe the dental office is on. Are you able to hit other 21.2 endpoints successfully, such as PatientNotes GET and PUT? They were added slightly later in 21.2 than Queries PUT ShortQuery and would confirm if this was a versioning issue.
We should improve this message to indicate that it's likely a version issue. We might even be able to get fancy about it and check the required version for each API method.
This issue was determined to be Python-related and has been resolved. In this instance the label for the JSON string needed to be changed from 'data' to 'json', shown below.