influxdata / influxdata/ui

[OSS] UI making a request to the /share route which returns an error.

Open
#7,080 1 comment 1 reaction 1 assignee View on GitHub

@NguyenHoangSon96 is already working on this.

Since Oct 7, 2025.

Dominant language
TypeScript
Stars
117
Forks
51
Avg merge
2d 15h
Merged PRs (30d)
4

Description

The share button is gone (thank you!) but i notice that the console still shows the ui making a request to the /share route which returns an error.

```
Summary
URL: http://localhost:8087/api/v2private/notebooks/share?orgID=¬ebookID=0f96fd11776e0000
Status: 400 Bad Request
Source: Network
Address: ::1:8087
Initiator:
notebooksRoutes.ts:142

Request
GET /api/v2private/notebooks/share HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Cookie: influxdb-oss-session=3PuaD6s0vqcJIZhzdrmdoVOdflB57HNQW0lAp1EyH26M4XysSUQce-EGEM93GYMe_zUtV-WZAEfyjGYxoZwvvw==
Priority: u=3, i
Referer: http://localhost:8087/orgs/b136db5d2e84f488/notebooks/0f96fd11776e0000
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.0.1 Safari/605.1.15

Response
HTTP/1.1 400 Bad Request
Content-Length: 60
Content-Type: application/json; charset=utf-8
Date: Fri, 03 Oct 2025 21:34:35 GMT
X-Influxdb-Build: OSS
X-Influxdb-Version: dev
X-Platform-Error-Code: invalid

Query String Parameters
orgID
notebookID: 0f96fd11776e0000
```

`0f96fd11776e0000` is a valid notebook id.

_Originally posted by @philjb in https://github.com/influxdata/ui/issues/7008#issuecomment-3367281468_

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.