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

Invalid Parameter to endpoint issue #132

Open
AdityaKBhadragond14 opened this issue Sep 15, 2023 · 8 comments
Open

Invalid Parameter to endpoint issue #132

AdityaKBhadragond14 opened this issue Sep 15, 2023 · 8 comments

Comments

@AdityaKBhadragond14
Copy link

Hi, I am using release 3.15.0 and I have done all the basic configuration to run it locally. I am using the following credentials to login:

username: administrator
password: password

After these I am trying to do the receive in stock management service. But I get the following image displayed in the image.
Screenshot 2023-09-15 122746

It would be of great help if someone can help me with issue ASAP. Thank You.

@AdityaKBhadragond14
Copy link
Author

Can anyone help me with this ASAP.

@anawrotsoldevelo
Copy link
Contributor

Hello, I need a little more information about this.
Could you go to browser Networking (Right click / Inspect / Networking) and show responses returned from the endpoints?

@AdityaKBhadragond14
Copy link
Author

I just did a restart and then the error was gone but I cant see any data to add for "Received From" and "Reason" When I am doing a receive in the stock management service.
Screenshot 2023-09-16 094732

As you can see here the dropdown has no data.

Also is there any forum where I can be in touch be with you?

@anawrotsoldevelo
Copy link
Contributor

I was able to reproduce the same behavior on my side. It looks like not all of the data was properly imported.
You can for now enter some demo data by yourself, until we fix the loading itself.

Received dropdown is being set in Administration / Valid sources. Click Add Valid Source and enter the data from screenshot.
received_from

Reasons are being set in Administration / Reasons. You can click edit on the right of the Transfer In reason, then add a facility type and program on the bottom of the page. After that click Update Reason on the bottom right side.
reason

Also remember to change spring_profiles_active to production (uncomment this line and comment spring_profiles_active=demo-data,refresh-db).
This will prevent service from reloading dummy data and overriding your changes.
spring_profile

We can stay in touch on OpenLMIS #help channel. Please create a Slack account, if you don't have one yet and join public OpenLMIS channel.

@AdityaKBhadragond14
Copy link
Author

Okay thanks. Appreciate it!

@AdityaKBhadragond14
Copy link
Author

AdityaKBhadragond14 commented Sep 19, 2023

Hey @anawrotsoldevelo I am unable to join the OpenLMIS #help public channel. It looks like it is restricted to the OpenLMIS community. The invite is also no longer active.
I am referring to the developer guide here: https://openlmis.org/get-started/developer/

@alebiedzinski
Copy link
Collaborator

As it's stated on the to get the Slack invitation please contact [email protected]. This should be the easiest option. Can you please also let me know from which Implementation are you?

@AdityaKBhadragond14
Copy link
Author

AdityaKBhadragond14 commented Sep 19, 2023

I am from the IPRD solutions. I have already sent the mail but I did not get any response.

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