# gRPC import path not working

**URL:** <https://community.postman.com/t/grpc-import-path-not-working/41157>\
**Category:** Help Hub\
**Tags:** grpc, protocol\
**Created:** [November 16, 2022, 12:50pm UTC](https://community.postman.com/t/grpc-import-path-not-working/41157 "2022-11-16T12:50:07Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![db-tester](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@db-tester](https://community.postman.com/u/db-tester)\
**Post date:** [November 16, 2022, 12:50pm UTC](https://community.postman.com/t/grpc-import-path-not-working/41157/1 "2022-11-16T12:50:07Z")

</div>

I am trying to import a proto file and while one that has no import specified is fine, when I try to add the add import path, even if incorrect, postman keeps on complaining that it is not correct. Please see screenshot attached

![image](https://us1.discourse-cdn.com/getpostman/original/3X/a/8/a8783387b7f321bcad9f40bc6de7c36b44819f69.png)

---

<div class="post-metadata">

**Author:** ![db-tester](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@db-tester](https://community.postman.com/u/db-tester)\
**Post date:** [November 21, 2022, 7:31am UTC](https://community.postman.com/t/grpc-import-path-not-working/41157/2 "2022-11-21T07:31:07Z")

</div>

anyone have any idea on this please?

---

<div class="post-metadata">

**Author:** ![appurva21](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/appurva21/32/34560_2.png) [@appurva21](https://community.postman.com/u/appurva21)\
**Post date:** [November 21, 2022, 9:36am UTC](https://community.postman.com/t/grpc-import-path-not-working/41157/3 "2022-11-21T09:36:56Z")

</div>

Hey @db-tester! While adding the import path, you need to specify the path to the parent folder from which you are importing the proto file.

For example, given the following project structure, where `root.proto` contains the import statement `import "x/y/z.proto"`, you need to add `/my-app` as the import path.

```plaintext
my-app/
├─ root.proto
├─ x/
│ ├─ y/
│ │ ├─ z.proto

```

In your case, adding the path to the parent folder of `protos` should do the trick!

---

<div class="post-metadata">

**Author:** ![db-tester](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@db-tester](https://community.postman.com/u/db-tester)\
**Post date:** [November 23, 2022, 7:10am UTC](https://community.postman.com/t/grpc-import-path-not-working/41157/4 "2022-11-23T07:10:26Z")

</div>

@appurva.murawat so what you are saying there needs top be 2 import paths set? as for this I have tried the folder at different stages and all of them resulted in the same error

---

<div class="post-metadata">

**Author:** ![rishi2758](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@rishi2758](https://community.postman.com/u/rishi2758)\
**Post date:** [May 15, 2023, 10:39am UTC](https://community.postman.com/t/grpc-import-path-not-working/41157/5 "2023-05-15T10:39:57Z")

</div>

I am too facing this error in postman version mentioned below,

**Version** 10.13.5  
**UI Version:** 10.13.5-ui-230424-1413  
**Desktop Platform Version:** 10.13.0 (10.13.0)

Were you able to resolve it ? If yes, can you help me out here !!

@appurva21 I tried what you suggested but it isn’t working same as what @db-tester mentioned. Can you please suggest something

---

<div class="post-metadata">

**Author:** ![StupydHors](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@StupydHors](https://community.postman.com/u/StupydHors)\
**Post date:** [May 16, 2023, 5:53pm UTC](https://community.postman.com/t/grpc-import-path-not-working/41157/6 "2023-05-16T17:53:46Z")

</div>

Running into the same issues over here too.

---

<div class="post-metadata">

**Author:** ![spacecraft-astronom2](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@spacecraft-astronom2](https://community.postman.com/u/spacecraft-astronom2)\
**Post date:** [September 22, 2023, 8:12am UTC](https://community.postman.com/t/grpc-import-path-not-working/41157/7 "2023-09-22T08:12:05Z")

</div>

same issue. any progress on it?

---

<div class="post-metadata">

**Author:** ![jeekishybet](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jeekishybet](https://community.postman.com/u/jeekishybet)\
**Post date:** [March 24, 2024, 11:59pm UTC](https://community.postman.com/t/grpc-import-path-not-working/41157/8 "2024-03-24T23:59:23Z")

</div>

This is still happening, has there been a resolution on this?

---

<div class="post-metadata">

**Author:** ![aviation-saganist-61](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/aviation-saganist-61/32/29312_2.png) [@aviation-saganist-61](https://community.postman.com/u/aviation-saganist-61)\
**Post date:** [March 26, 2024, 8:28am UTC](https://community.postman.com/t/grpc-import-path-not-working/41157/9 "2024-03-26T08:28:24Z")

</div>

Follow [this](https://community.postman.com/t/grpc-import-path-not-working/41157/3) reply to get clarity on how to specify the correct path when importing a proto file.  
The video below demonstrates the process, make sure you’ve updated your Postman app to version 10.24.1 or later.If you’re still encountering the issue after updating, please let us know!

---

<div class="post-metadata">

**Author:** ![security-geologist-9](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@security-geologist-9](https://community.postman.com/u/security-geologist-9)\
**Post date:** [May 30, 2024, 2:38am UTC](https://community.postman.com/t/grpc-import-path-not-working/41157/10 "2024-05-30T02:38:12Z")

</div>

this worked for me, thank you

---

<div class="post-metadata">

**Author:** ![rajchahal](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/rajchahal/32/13682_2.png) [@rajchahal](https://community.postman.com/u/rajchahal)\
**Post date:** [December 27, 2024, 4:41am UTC](https://community.postman.com/t/grpc-import-path-not-working/41157/11 "2024-12-27T04:41:48Z")

</div>

thanks a lot , this helped me solve the problem due to which I was still stuck with bloomRPC 😃

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [January 3, 2025, 4:42am UTC](https://community.postman.com/t/grpc-import-path-not-working/41157/12 "2025-01-03T04:42:04Z")

</div>

Closed on January 3, 2025, 4:42am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
