So I’m trying to pull some BAQ’s into Power BI/Excel.
I was successfully able to create a new API for that, went to the REST API Epicor Services and tested the BAQ and everything seems to work perfectly as I tested, and data is coming as expected.
But when trying to pull it to PBI I’m having the next error and I have no idea how to make it work, I already spent my last 3 braincells and can’t figure it out how to make it work, not sure what I’m missing.
Worth to mention that we are Cloud and login into Epicor using Identity Provider.
the Curl is returning data and no errors over the resthelp, and api key was added to the headers.
In PBI, tested using anonymous access, web API, and basic and none worked.
Here’s the snippet I’ve been kicking around for ages. The parameters aren’t necessary. Snip those bits out if you don’t need them, it’s just an example of “how to parameter”.
The “auth string” is a hashed copy of the account’s credentials. I copy them from the network activity in developer tools while doing anything in swagger while logged in from the account I’d be using in PBI. Looks a little less sketchy than plain text, not actually more secure, just useful for deflecting peanut gallery comments if non techy people see it.