Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error CSR when fleet_telemetry_config create #172

Closed
themarch opened this issue May 23, 2024 · 4 comments
Closed

Error CSR when fleet_telemetry_config create #172

themarch opened this issue May 23, 2024 · 4 comments

Comments

@themarch
Copy link

Hi, i have a problem with my CSR when creating the fleet-telemetry config. However, my CSR has been validated because with this third-party token I can use the API in the usual way, like ‘vehicle_data’ for example.

I've followed all the previous steps to get fleet-telemetry on my server, but I get this error. Thanks in advance

I've noticed that it's only related to my bearer, because I can put anything in the body, it won't change anything.
Here's my "URL" : bib-data.fr

Capture d’écran 2024-05-23 à 11 26 25

For example, here I have access to the classic API, my CSR has been accepted and I've already received an email about it.

Capture d’écran 2024-05-23 à 11 29 34

Thanks in advance.

@Martucci98
Copy link

Martucci98 commented May 23, 2024

To add some information:
For the request: "{{FLEET_API_URL}}/api/1/vehicles/{{vehicle_tag}}/fleet_telemetry_config" the answer is "true" (see the screen)

We are unable to check for the errors:
While doing the request
"{{FLEET_API_URL}}/api/1/partner_accounts/fleet_telemetry_errors", here is the answer we get
{ "response": null, "error": "Expected partner account token type", "error_description": "", "txid": "a1e27bf8341e8871d86337837009eb7e" }

Thank you for your help

Screenshot 2024-05-23 at 13 45 50 Screenshot 2024-05-23 at 13 51 33

@patrickdemers6
Copy link
Collaborator

@themarch you first setup your account in NA region, but then set up in EU. I've applied the signed certificate to your account in EU so you should now be able to setup fleet-telemetry.

@patrickdemers6
Copy link
Collaborator

@Martucci98 you are passing a third-party token to the fleet_telemetry_errors endpoint. It requires a partner token. Please see the Authentication section of the docs to learn the differences between these tokens.

@themarch
Copy link
Author

themarch commented May 27, 2024

Thanks a lot @patrickdemers6, it's done for this part.

Just one very strange thing. I got this when I wanted to add the public key to the vehicle. However, I do have access to this vehicle, and I can make API calls on it etc. And I've already done the ‘third_party’ and ‘authorization_code’ parts. (also with vehicle_device_data scope)

Maybe it's another zone problem? (for the translation of the pictures it's : The vehicle cannot be shared.
Adding a virtual key for ‘bib-data.fr’ is prohibited because you have not granted ‘bib-data.fr’ access to your account.)

Capture d’écran 2024-05-27 à 11 47 47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants