OpenSign
OpenSign copied to clipboard
[Bug]: Get Template endpoint error on Digital Ocean 1-click install
Issue Description
Using the API docs I was able to create a template, but when I used the Get Template end point to retrieve it, I got the error "Something went wrong, please try again later!" in response. The runtime logs for the amolshejole-opensignserver component in Digital Ocean threw an error:
info: afterFind triggered for _User for user undefined: Input: "AfterFind" Result: "[{\"objectId\":\"pw7yGUY9ma\",\"name\".... err CredentialsError: Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1.
Am I missing something here? Is that necessary for Digital Ocean deployments? A bug?
Apologies for any mistakes I made in this issue, this is new to me!
Expected Behavior
200 response that returns the template's schema
Current Behavior
{ "error": "Something went wrong, please try again later!" }
Steps to reproduce
- Go to https://docs.opensignlabs.com/docs/self-host/One-click-Install/DigitalOcean
- Click "Deploy on DigitalOcean" button and log in
- Click "Next" 4 times, followed by "Create Resources"
- Open the app after it's finished and log in
- Go to the API section and generate key
- Follow instruction for creating a template replacing
https://app.opensignlabs.com/with your app URL from step 4 (I did it in Postman) - Copy Id from response
- Follow instructions for getting a template replacing
https://app.opensignlabs.com/with your app URL from step 4 and using the Id from step 7 in place oftemplate_id
Screenshots of the issue(optional)
No response
Operating System [e.g. MacOS Sonoma 14.1, Windows 11]
Windows 11
What browsers are you seeing the problem on?
Chrome
What version of OpenSignâ„¢ are you seeing this issue on? [e.g. 1.0.6]
unsure, whatever version the one-click install did at 3 hours ago
What environment are you seeing the problem on?
Hosted (app.yourdomain.com)
Please check the boxes that apply to this issue report.
- [X] I have searched the existing issues & discussions to make sure that this is not a duplicate.
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
- [X] I have searched the existing issues & discussions to make sure that this is not a duplicate.
@nick-hocmn this issue has been resolved. Can you please check and confirm?