iTwin / itwin-unreal-plugin

Apache License 2.0
10 stars 4 forks source link

'Unauthorized' error relating to 4D schedules #15

Closed MSeddonProicere closed 3 days ago

MSeddonProicere commented 3 weeks ago

Hi there,

I'm getting an error when trying to follow section 5 of your guide. I'm following exactly what it says but the schedule refuses to download.

I'm not sure what exactly is 'unauthorized' but as for my account, I'm admin so it should be on that side at least.

image

GhisBntly commented 2 weeks ago

Hi, The first error is "OK" (about the NextGen schedule), but the second one indeed is not. Did you assign the scope "itwin-platform" to you app ID when setting it up? What is the "Synced" date on your iModel, when looking in your project's "Manage iModel" web page?

MSeddonProicere commented 1 week ago

Hi,

Please find attached below what you asked for, to me it looks like everything is set up correctly to me on that front

image


image


image

GhisBntly commented 1 week ago

Hello, Thanks for confirming this, basic stuff but one needs to cover all bases ^^ Since you reached section 5., I assume you can see the geometries of your model, right, only the schedule fails?

Last week I had one (maybe two) reports with the same symptom, which we are currently investigating (although I could never reproduce on my side). I will let you know what we find.

MSeddonProicere commented 1 week ago

No worries at all Correct the geometries are showing perfectly fine, the authorisation browser pops up fine too. It is only the schedule that it is failing to authorise.

If it helps, please feel free to ask me to post anything you need relating to the issue to aid your investigation and ill assist you all as best as i can.

Thanks!

MSeddonProicere commented 1 week ago

So i (kind of) managed to get it to find the schedule. At runtime, i have to update the IModel, then go to he Synchro4DSchedules component and press reset schedules, then go back up to the IModel and update it again, and it (sometimes) loads the schedule.

Naturally this is good for in-engine stuff but i can't build anything around this which is unfortunate.

GhisBntly commented 1 week ago

Thanks for the additional feedback - yes it's definitely a priority to fix this!

GhisBntly commented 4 days ago

Hello, I made a fix for the new version just released (0.1.10) which I hope should work for you: a colleague who had the same problem no longer sees it with the new version. The new version also brings important schedule-related improvements, and removes several limitations: please check the updated README when upgrading! Let me know how it goes,

MSeddonProicere commented 3 days ago

Thanks so much! I can confirm this worked on my system. Sorry for the late reply!