Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add troubleshooting case #178

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ IMPORTANT: After the download/upload is successful, please logout of your Securi

- If you get a HTTP 401, please make sure the token is valid. It should not have expired or have any leading or trailing spaces when you paste it. Also make sure the URI in the PowerShell script has the correct region specified.
- If you get HTTP 400, please verify the correctness of the prompt JSON file. Specifically if you are using a variable, make sure it has the same name in your prompts and in the 'promptbookinputs' section. The variable is case sensitive, and the token name and its description cannot be the same text.
- In case of HTTP 500, check the JSON format. A missing or extra ',' is not an acceptable JSON, and it is advised to run your JSON via a formatter to identify any issues.
- In case of HTTP 500, check the JSON format. A missing or extra ',' is not an acceptable JSON, and it is advised to run your JSON via a formatter to identify any issues.
- If after running the upload promptbook script the new uploaded promptbooks are not visible on the webportal, make sure to the region URI is set up properly in the powershell script `https://api.securitycopilot.microsoft.com/geo/<region>/promptbooks` (4 regions are currently supported East US, West Europe, UK South, and Australia East)

Comment on lines +90 to +91
Copy link
Preview

Copilot AI Feb 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The phrase 'make sure to the region URI is set up properly' should be corrected to 'make sure the region URI is set up properly'.

Suggested change
- If after running the upload promptbook script the new uploaded promptbooks are not visible on the webportal, make sure to the region URI is set up properly in the powershell script `https://api.securitycopilot.microsoft.com/geo/<region>/promptbooks` (4 regions are currently supported East US, West Europe, UK South, and Australia East)
- If after running the upload promptbook script the new uploaded promptbooks are not visible on the webportal, make sure the region URI is set up properly in the powershell script `https://api.securitycopilot.microsoft.com/geo/<region>/promptbooks` (4 regions are currently supported East US, West Europe, UK South, and Australia East)

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
Comment on lines +90 to +91
Copy link
Preview

Copilot AI Mar 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a grammatical issue in the added line. Consider removing the extra 'to' so that it reads 'make sure the region URI is set up properly' for clarity.

Suggested change
- If after running the upload promptbook script the new uploaded promptbooks are not visible on the webportal, make sure to the region URI is set up properly in the powershell script `https://api.securitycopilot.microsoft.com/geo/<region>/promptbooks` (4 regions are currently supported East US, West Europe, UK South, and Australia East)
- If after running the upload promptbook script the new uploaded promptbooks are not visible on the webportal, make sure the region URI is set up properly in the powershell script `https://api.securitycopilot.microsoft.com/geo/<region>/promptbooks` (4 regions are currently supported East US, West Europe, UK South, and Australia East)

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options

**Documentation**
- [Using Promptbooks | Microsoft Learn](https://learn.microsoft.com/en-us/security-copilot/using-promptbooks)
Expand Down