MonkeyCanCode commented on issue #144: URL: https://github.com/apache/polaris/issues/144#issuecomment-2303508717
> Hello Apache/Polaris 1) If I use the default realm principal client ID and client secret, i don't hit the 500 error. I was able to go until the step "create or replace table" It throws a Principal 'root' with activated PrincipalRoles '[]' and activated ids '[2, 4]' is not authorized. 2) But if i use the quickstart_user client ID and client secret (as per the guide), it doesnt work (hits the nullpointer still) . Using the curl command works with the quickstart_user client ID and client secret. curl -v -X POST http://localhost:8181/api/catalog/v1/oauth/tokens \ -d 'grant_type=client_credentials&client_id=XXXX&client_secret=YYYY&scope=PRINCIPAL_ROLE:ALL' Can I check also for the IAM role and S3 resource did u use a IAM role and S3 from aws? Because if so how do we bind inside the S3 role ARN the snowflake_user_arn or snowflake_external_id from my catalog running locally? This is based on the gradlew run. I haven't tried the docker method one. > […](#) > On Thu, Aug 22, 2024, 6:58 AM MonkeyCanCode ***@***.***> wrote: @sfc-gh-adlee <https://github.com/sfc-gh-adlee> are you still seeing this issue? I am able to run those locally. If the issue is reproducible, I can debug to see if there are any diffs. — Reply to this email directly, view it on GitHub <[#144 (comment)](https://github.com/apache/polaris/issues/144#issuecomment-2303253984)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AUAM6T2OQUSHQHQLYK6EFO3ZSULSFAVCNFSM6AAAAABMLUE3KGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBTGI2TGOJYGQ> . You are receiving this because you were mentioned.Message ID: ***@***.***> Thanks for the info. Will rerun the spark setup and see if I have this issue (didn't hit this one earlier and current workflow is also working). Will share details a bit later tonight. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@polaris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org