-
Notifications
You must be signed in to change notification settings - Fork 23
http 403 #25
Comments
I get the same problem, I've generated the API code with the command "php artisan passport:client --personal", and I've set it in the marksman.exe.config config file, and when i started the marksman i got the same error, maybe someone can help me to, thanks |
I am unfamiliar with Laraval's API system using artisan, and I am not sure if it is compatible. Can you try creating an API key manually in your SnipeIT dashboard? In the settings in the top right, there should be a button called 'Manage API Keys'. Try generating an API key this way, and then put it into your config file. |
@hdrkhls I believe that your missing a "/api/v1" from the ned of your BaseURI value field. It should look like |
@Ziggista thanks, but now i get this massage |
@hdrkhls Looks like your getting further than you were before. The error points towards the Manufacturer been null. |
After trying to run the marksman I get the below error, not sure where the problem is. The API key was created from the SnipeIT user's "ManageAPIKeys"
"C:\Program Files (x86)\Scope-IT\Marksman>Marksman
1/8/2019 12:32:52 PM: Started application.
HTTP 403: Unauthorized. Please check the API key value in your
block of the Marksman config file and ensure it has been set to a valid key.
ERROR: Could not connect to SnipeIT database instance.
Total program execution time 1522ms.
1/8/2019 12:32:53 PM: Exiting application."
The text was updated successfully, but these errors were encountered: