API Issue - 301 Redirect Loop on /api/upload-device-metrics

Hi DePINScan Team,

I'm experiencing an issue with the upload-device-metrics API endpoint.

Problem:

  • My server was receiving 403 Forbidden errors when calling the API

  • When I tested the endpoint manually using curl, I'm getting 301 Moved Permanently responses

  • The redirect location points to the same URL, causing an infinite redirect loop

Request Details:

  • Endpoint: POST https://api.depinscan.io/api/upload-device-metrics

  • UID: 795ac450-35b7-4f45-923e-269beae28c4b

  • Headers: Authorization, Content-Type: application/json

  • Response: HTTP 301 with empty body

curl command used: curl -X POST 'https://api.depinscan.io/api/upload-device-metrics'
--header 'Authorization: mc.xxxxx'
--header 'Content-Type: application/json'
--data '{"uid": "795ac450-35b7-4f45-923e-269beae28c4b", "events": []}'

Could you please check:

  1. Is this API endpoint still active?

  2. Has the endpoint URL changed?

  3. Is there an issue with my API key or UID?

Thank you for your help.

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
πŸ’‘

New Issue

Date

2 months ago

Author

cas.yu

Subscribe to post

Get notified by email when there are changes.