• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Wondering where I can download old Poly Software? Click here for information!
HP Recommended
PZT API

Hello.

When attempting to fetch a device that is not registered in Poly Zero Touch, the API returns a 500 internal server error, instead of a 404 Not Found. Is this an intentional change or a bug?

 

Example:
GET https://api.ztp.poly.com/preview/devices/{MAC}
Response:

{
"statusCode": 500,
"code": "NOT_FOUND",
"error": "Internal Server Error",
"message": "device [{MAC}] does not exist"
}
 
Previously, this request has yielded a 404 response. What is the cause for the 500 and is this an expected response when a device is not registered?
3 REPLIES 3
HP Recommended

Hello @alfredberggren, Welcome to the HP Poly Support Community.

 

Thanks for reaching out about your query regarding the Poly device.

 

We're thrilled to have the opportunity to assist you and provide a solution. We hope our assistance has been helpful!

 

To help us get started on resolving your issue, could you please let me know the make and model of the Poly device so that I can assist you further?

 

Take care and have an amazing day!

 

If you would like to thank us for our efforts to help you, go to the public post and give us a virtual high-five by clicking on "Yes" for the question "Was this reply helpful?" below my message, followed by clicking on the "Accept as solution" on my public post.

 

Regards,

Salman

I am an HP Employee.
Click Helpful = Yes to say Thank You.
Question / Concern Answered, Click "Accept as Solution"
HP Recommended

The issue does not regard a specific Poly device.

Any poly device (mac) used in the specified API returns a 500 for me.

HP Recommended

@alfredberggren,

 

We're here to help you tackle that issue you are facing in the device Don't worry, we've got your back!

 

To get you the best assistance, we need to take this conversation to a private chat. We're inviting you to a private message to protect your privacy and ensure that any sensitive information remains confidential.
 

To access your private message, just click the little blue envelope icon on the upper right corner of your HP Community profile, next to your profile name. Alternatively, you can click on this link.

Private Messages - HP Support Community

 

We're looking forward to helping you resolve this issue!

 

Stay tuned, and thanks for your patience!

 

Regards,
Salman
 

I am an HP Employee.
Click Helpful = Yes to say Thank You.
Question / Concern Answered, Click "Accept as Solution"
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.