• ×
    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
Join the HP Community Solve‑a‑thon | Help Others & Share Your Solutions | Live on Zoom | 2:30 PM to 2:30 AM IST | Every Wednesday Click here to know more
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'm an HP Employee.


If this reply helped resolve your issue, please select the Accept as Solution as it helps others in the community quickly find the answer they’re looking for.


And if you found this reply helpful, clicking Yes below is a great way to let us know we’re providing the support you need, as it encourages us to keep improving and sharing helpful guidance.

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'm an HP Employee.


If this reply helped resolve your issue, please select the Accept as Solution as it helps others in the community quickly find the answer they’re looking for.


And if you found this reply helpful, clicking Yes below is a great way to let us know we’re providing the support you need, as it encourages us to keep improving and sharing helpful guidance.

† 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>.