[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Yealink RPS API error
Author Message
aspurlock@sipharmony.com Offline
Junior Member
**

Posts: 2
Joined: Apr 2022
Reputation: 0
Post: #2
RE: Yealink RPS API error
(05-21-2024 06:26 PM)kov Wrote:  I'm trying to get started using Yealink RPS for auto provisioning, and am making som test api requests, following the documentation found here:https://support.yealink.com/forward2filesystem/attachment/upload/attachment/2021-2-3/5/49bdb7cd-55de-40c4-a2c6-c88f6e3598f9/Yealink+Json+API+for+RPS+Management+Platform+V3.6.0.30.pdf



I've testet the POST request for listing servers, and the CheckMac api, and both return the same internal server error response, which has a body that indicates the endpoint was not found.

{

"ret": -1,

"data": null,

"error": {

"msg": "service.common.not.found",

"errorCode": 404,

"fieldErrors": []

}

}





For the checkmac request the full uri i'm requesting is

https://api-dm.yealink.com:8443/api/open...1565123123


I've added the Headers mentioned in the pdf, and created the signature, but i suspect that the backend doesn't get to validating those, when i get a 404 response.



Am i missing something obvious about the URL's for the Yealink RPS API ?

Yealink, can we get some support with this? I am also facing the same issue. My code has been in production for 3 years now, and I also getting the above api error response.

(05-21-2024 06:26 PM)kov Wrote:  I'm trying to get started using Yealink RPS for auto provisioning, and am making som test api requests, following the documentation found here:https://support.yealink.com/forward2filesystem/attachment/upload/attachment/2021-2-3/5/49bdb7cd-55de-40c4-a2c6-c88f6e3598f9/Yealink+Json+API+for+RPS+Management+Platform+V3.6.0.30.pdf



I've testet the POST request for listing servers, and the CheckMac api, and both return the same internal server error response, which has a body that indicates the endpoint was not found.

{

"ret": -1,

"data": null,

"error": {

"msg": "service.common.not.found",

"errorCode": 404,

"fieldErrors": []

}

}





For the checkmac request the full uri i'm requesting is

https://api-dm.yealink.com:8443/api/open...1565123123


I've added the Headers mentioned in the pdf, and created the signature, but i suspect that the backend doesn't get to validating those, when i get a 404 response.



Am i missing something obvious about the URL's for the Yealink RPS API ?

I figured it out. Email me, i'll walk you through what we did wrong. Their docs are outdated.
(This post was last modified: 06-21-2024 10:39 AM by aspurlock@sipharmony.com.)
06-21-2024 10:20 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
Yealink RPS API error - kov - 05-21-2024, 06:26 PM
RE: Yealink RPS API error - aspurlock@sipharmony.com - 06-21-2024 10:20 AM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Reset Yealink phone mp56 with usb key DLEFEBVRE 0 1,509 09-04-2024 10:13 PM
Last Post: DLEFEBVRE
  Yealink RPS supported versions kov 0 928 05-16-2024 08:23 PM
Last Post: kov
  Yealink MP Phones no DHCP or Network Access with static wesleybauman 1 1,567 05-16-2024 03:26 AM
Last Post: complex1
  Yealink MTouch E2 janaga 0 969 05-14-2024 07:41 PM
Last Post: janaga
  Problem with T54W Yealink aarontate 0 1,078 05-06-2024 11:10 AM
Last Post: aarontate
Exclamation Yealink ticket support enasxristis 0 947 04-25-2024 04:02 PM
Last Post: enasxristis
  Could Someone Give me advice on Yealink phone setup for remote work? rich20509 0 1,455 04-15-2024 01:26 PM
Last Post: rich20509
  Anyone use a Yealink phone with a Talkswitch PBX? abiza 1 1,707 04-12-2024 04:43 PM
Last Post: Thenand
  Error q.850 cause=17 Nomads 1 1,776 04-11-2024 06:38 PM
Last Post: complex1
  Yealink phone with hearing aids Jamie22RR 2 3,302 04-10-2024 11:08 PM
Last Post: WillDavies15

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication