1

WriteAPI - Method not implemented"

Tried to implement /getSessionToken (Storage Methods) by passing request as

Request :

{
  "userToken": "90e1f3a6-7c37-4366-99c4-bc539b4978e123",
  "historians": [
    "MACHINENAME"
  ],
  "clientId": "Test",
  "settings": {
    "clientTimeout": 300000,
    "fileSize": 8,
    "autoCreateDatasets": true
  }
}

and got error message as "Method not implemented"

 

Response:

{

"statusCode": "Error",

"errors": [

"Method not implemented"

]

}

I tried with other storage API too and got same issue.

https://writeapi.canarylabs.com/21.2/

 

Only /getUserToken and /getTimeZones API's are working. Please suggest another option need to modify in canary admin or response in postman

 

Any help appreciated!!

6replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Hi dhgokul !

    What is the full url  you are using? Are you using the Sender API port: 55253 or 55254. These are different than the Read API ports: 55235 and 55236. The "Method not implemented" implies that it does not recognize the request.

    Like
    • dhgokul
    • dhgokul
    • 2 yrs ago
    • Reported - view

    Steve Mason Thanks for your response !  I tried with domain name with SSH(Its working for getUserToken POST request) ,

    Also tried with public IP with http://xx.xx.xxx.xx:55253(55254)/api/v2/getSessionToken its not sending request.

    Like
    • dhgokul I think I see the issue. The Read API has a "v2" as this is the 2nd iteration of that API. The Sender API, however, is still on "v1". Try replacing v2 with v1 and see if that resolves the issue.

      Like
      • dhgokul
      • dhgokul
      • 2 yrs ago
      • Reported - view

      Steve Mason Replaced with v1, Still same issue

      Like
    • dhgokul I'm not sure then. Can you open a ticket by emailing support@canarylabs.com and we'll continue troubleshooting from there?

      Like
      • dhgokul
      • dhgokul
      • 2 yrs ago
      • Reported - view

      Steve Mason Sure Thanks!

      Like
print this pagePrint this page
Like1 Follow
  • 1 Likes
  • 2 yrs agoLast active
  • 6Replies
  • 61Views
  • 2 Following