question

Upvotes
Accepted
1 0 0 2

Getting Error 500 when trying to connect RKD quotes using Python

I am getting 500 error when I am trying to connect RKD fundamentals endpoint using python, can you help

error
1705569644490.png

code

1705569606358.jpeg

python#technologyrkd-apierror-500
1705569606358.jpeg (26.5 KiB)
1705569644490.png (8.1 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
82.7k 279 53 77

@parakh.singh

Thank you for reaching out to us.

The headers in the request must be the followings.

  • Content-type = application/json
  • X-Trkd-Auth-ApplicationID = Application ID
  • X-Trkd-Auth-Token = service Token
        headers = {
            "X-Trkd-Auth-Token": self.get_access_token(authorization),
            "X-Trkd-Auth-ApplicationID":"rkdapi",
            "Content-Type":"application/json"
        }
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.