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

Newly added data is not recognized when trying to update it seconds later #1561

Open
Aayush-683 opened this issue Jun 13, 2024 · 1 comment

Comments

@Aayush-683
Copy link

When you use the POST method to add some new data to an endpoint.
Later, when i try to update the data using either PUT or PATCH method, it simply does not exist, visiting the URL says "Not Found" but the object is shown in the total list on the endpoint. (Refer to the images attached below)
image
image
image
image

@Aayush-683
Copy link
Author

I think this is because the new object's id is not being saved as a String, causing it to not recognize it.
Restarting the server fixes the id and converts it into a String

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

1 participant