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

Component checkout via API returns error #13376

Closed
2 tasks done
Ebbenstein opened this issue Jul 27, 2023 · 2 comments
Closed
2 tasks done

Component checkout via API returns error #13376

Ebbenstein opened this issue Jul 27, 2023 · 2 comments
Assignees

Comments

@Ebbenstein
Copy link

Debug mode

Describe the bug

When trying to assign a component to an asset via the API it returns an error: "The asset id field is required."

This happens when using the API explorer, as well as on my own Snipe-it web.

Se screenshot for details.

Reproduction steps

  1. Used the explorer to search for component ID
  2. Used the explorer to search for Asset ID
  3. Clicked "Try it"
    ...

Expected behavior

Assign the component to the asset

Screenshots

Unavngivet

Snipe-IT Version

v6.1.2 build 10938 (g32747cafd)

Operating System

Hosted by You

Web Server

Hosted by You

PHP Version

8.0.28

Operating System

No response

Browser

No response

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

@welcome
Copy link

welcome bot commented Jul 27, 2023

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@Godmartinz
Copy link
Collaborator

@Ebbenstein A solution has been merged into develop, should be merged into main soon. 🙂

@snipe snipe closed this as completed in 3e4b371 Aug 2, 2023
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