Open Closed

Error updating user profile information #3715


User avatar
0
scott7106 created
  • ABP Framework version: v5.3.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

We were getting an error when trying to update the users profile information. The error was due to a missing RequestVerificationToken header when trying to send the update to the API. We tracked the issue down to an entry for AbpAccountPublic in our environment.config file for Angular under the apis section.

  apis: {
    default: {
      url: '',
      rootNamespace: 'OtisEd.Synergyz',
    },
    AbpAccountPublic: {
      url: oAuthConfig.issuer,
      rootNamespace: 'AbpAccountPublic',
    },
  },

Why would this setting cause the RequestVerificationToken to be missing? There is something here we do not understand. The application works by simply removing that section from the config, but we would like to understand how that setting caused the issue.

Thanks!


1 Answer(s)
  • User Avatar
    0
    fatih.kilic created

    I checked in version 5.3.3 but I did not produce this error. Can you write how did you have error step by step. And also can you write error log.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11