# Unable to execute entry fun on sui explorer

**URL:** <https://forums.sui.io/t/unable-to-execute-entry-fun-on-sui-explorer/48781>\
**Category:** Explorer\
**Created:** [July 2, 2025, 12:23pm UTC](https://forums.sui.io/t/unable-to-execute-entry-fun-on-sui-explorer/48781 "2025-07-02T12:23:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![plyoteo](https://avatars.discourse-cdn.com/v4/letter/p/838e76/32.png) [@plyoteo](https://forums.sui.io/u/plyoteo)\
**Post date:** [July 2, 2025, 12:23pm UTC](https://forums.sui.io/t/unable-to-execute-entry-fun-on-sui-explorer/48781/1 "2025-07-02T12:23:43Z")

</div>

## I am taking my first baby steps with Sui Move, coming from a modest background of Python, NodeJS and some rudimentary Rust. I am trying to create an NFT object Hunter with an added dynamic object field Image which contains the url for the image. My code is as below:

module nft\_tutorial::hunt;

use sui::url::{Self, Url};  
use sui::dynamic\_object\_field as ofield;

public struct Hunter has key {  
id: UID,  
}

public struct Image has key, store {  
id: UID,  
url: Url,  
}

public entry fun create\_hunter(ctx: &mut TxContext) {  
transfer::transfer(Hunter {  
id: object::new(ctx),  
}, tx\_context::sender(ctx));  
}

public entry fun create\_image(url: vector, ctx: &mut TxContext) {  
transfer::transfer(Image {  
id: object::new(ctx),  
url: url::new\_unsafe\_from\_bytes(url),  
}, tx\_context::sender(ctx));  
}

## public entry fun add\_image(hunter: &mut Hunter, image: Image) { ofield::add(&mut hunter.id, object::id(&image), image); }

The script publishes OK and the first two entry funs (create\_hunter & create\_image) are executed properly and create the corresponging objects on SUI Explorer. However, when I attempt to execute the entry fun add\_image I am greeted with an inactive window on suiscan where there are the inactive Arg0 and Arg1 (presumambly the UIDs of objects Hunter and Image) and an inactive Execute button. Thus I cannot execute the fun add\_image.

I am at a stalemate. Am I doing something wrong or is it a peculiarity of Suiscan? I would greatly appreciate any suggestions.

I thank you in advance.

PS. If you are kind enough to run the whole thing, the please use any available image url.
