Open Closed

Saas Tenant API Issue in Swagger #9429


User avatar
0
Hon-Tre_IFS created

**When I created a Tenant in the Angular UI It is creating a tenant in the saastenant table and User in AbpUser Table the Both ** When I am creating the Tenant through the swagger Post API,i It is creating a tenant in the saastenant table but not the User in AbpUser Table

To create an user and tenants do we have other api's need's to invoked

  • Exception message and full stack trace:
  • Steps to reproduce the issue:
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

7 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please check and share the logs.txt of your app.

    liming.ma@volosoft.com

    Thanks

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    The log you share contains connection string errors, the token's audit is invalid, etc.

    Is your connection string correct?

    Can you share the HTTP request info from Swagger?

    Thanks.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Hon-Tre_IFS created

    few times we are facing this error This is my connection String "ConnectionStrings": { "Default": "Server=localhost;Database=PlatformHost;Trusted_Connection=True;TrustServerCertificate=true" },

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    For ID2093 error:

    You need to select the scope when authentication in Swagger.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    What is the request body(input) of this request?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Hon-Tre_IFS created
    {
      "name": "TestingTenant",
      "editionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "activationState": 0,
      "activationEndDate": "2025-06-09T04:25:34.834Z",
      "editionEndDateUtc": "2025-06-09T04:25:34.834Z",
      "adminEmailAddress": "TestingTenant@gmail.com",
      "adminPassword": "Satya@123",
      "connectionStrings": {
        "default": "string",
        "databases": [
          {
            "databaseName": "string",
            "connectionString": "string"
          }
        ]
      }
    }
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please remove the string from input if you don't want to set connection string.

    Try this:

    {
      "name": "TestingTenant",
      "editionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "activationState": 0,
      "activationEndDate": "2025-06-09T04:25:34.834Z",
      "editionEndDateUtc": "2025-06-09T04:25:34.834Z",
      "adminEmailAddress": "TestingTenant@gmail.com",
      "adminPassword": "Satya@123"
    }
    
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.