I am using Plumsail basic API key to parse the body of email in power automate but it is throwing below error:-
You are using Actions API key to make a call which is prohibited for current endpoint. Try to use a different key
However as per the Plumsail portal description, I can use Basic API to parse the content as it don't require any SharePoint connection.
I had already gone through with the post already available for same issue but it was not helpful as it was stating generic statements to change the API type.
My question is that when the Basic API type is meant for parsing the data using regex then why it is not working here?
Hello! The regular expression match action is available in two of our products: Actions and Documents. It works identically but requires an accordant connection dependent on what API key you use. In your case, it is a key for Actions but you tried to connect to the Documents service that is why you got the error. All you need is just to chose another product and use the same basic API key when creating a connection.
Dear Evseychik,
Thanks for the update. I am also using the same data as you are using from the same article. I had further diagnosed the scenario. There are 3 cases-
Body had been fetched from Email as such and used in the same manner in Regex Action.
Body had been fetched from Email as such and is parsed in plain text and used the same in Regex Action.
Content copied from the article and pate in Text area in flow.
The output for all 3 cases have been attached. The only 3rd case is returning the out as you have shared. If you are also doing the same then it is not useful as the content has to fetch dynamically. Please suggest. Just want to confirm that for all 3 cases, the content is same.
We would advise you to use plain text since it won't be too difficult to build a regular expression for it. The HTML text obviously differs from the plain one which is provided in the article and requires its own regular expression. The text after the HTML conversion also differs from the one in the sample: it has empty lines and that also should be taken into account when building a regular expression. So for the converted text, please use the following expression: