Forum Discussion

fdanielsouza's avatar
fdanielsouza
Helper I
6 years ago

Help using the Export to File API with RLS

Hi guys, I'm trying to make the Export to File (in Group) API to work with RLS, but kinda struggling with it.

 

I created a RLS rule, as seen below

 

 

Then I made it work in the service, as you can see

 

 

If I remove the RLS from both the report and the request, I can succesfully call the API

(in order: the URL, the body of the request, the response status and the response content)

 

But when I try to call the API using the RLS I created, it gives me this bad request error

 

Well, this is it. Any help will be much appreciated! Thanks!

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hey Daniel, 

     

    Were you able to fix this? if so how did you manage?

     

    thanks!