"csv_import" ERROR: No database/alias specified #1644
Unanswered
UnLuckiestClovr
asked this question in
Q&A / Help
Replies: 2 comments 3 replies
-
The error is saying that the account parameter you have passed isn't valid. It needs to be the account number or alias for the sheltermanager database you want to access via the service. |
Beta Was this translation helpful? Give feedback.
1 reply
-
The parameters can only be read from one method, so if you are POSTing the data, you need to POST the data as URLencoded with all the parameters, or you need to do a GET, passing all the parameters. You can't mix them by including account/username in the query string and the data in the post body. Maybe that's what you're doing? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When working with "csv_import" for a website I am helping code, I ran into an issue with the CSV Importing, whereas I am able to call to the endpoint I get a "ERROR: No database/alias specified" response. I do not know what I might be doing wrong, as I thought I had everything solved. I checked the documentation, 49u is what I had, and could not find any mention of this error or field. Attempting to add said parameters via the URL "?parameter=<value" did not yield any results.
Parameters used:
method: csv_import
account:
username:
password:
data: <utf-8 encoded, base64 formatted CSV file>
https://service.sheltermanager.com/asmservice?method=csv_import&account=&username=&password=&data=
I am going through the "sheltermanager.com" database, so I do not know if that effects what I am doing.
Any help would be appreciated as this is a time sensitive matter.
Beta Was this translation helpful? Give feedback.
All reactions